vary along the length of (something)

Translations
варьироваться вдоль длины (чего-либо)
The width of the river can vary along the length of its course.
Ширина реки может варьироваться вдоль всей её длины.